package com.studyroom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.naming.ldap.PagedResultsControl;
import java.time.LocalDateTime;

@Data
public class Note {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String title;
    private String content;
    /*
    * 访问权限
    * 0-所以人可见
    * 1-仅好友可见
    * 2-仅自己可见
    * */
    private Integer authority;
    private LocalDateTime created;
}
